package cc.ailley.proxy.dynamic.cglib;

import cc.ailley.proxy.IUserDaoImpl;

public class CglibProxyFactoryTest {

    public static void main(String[] args) {
        IUserDaoImpl target = new IUserDaoImpl();
        IUserDaoImpl proxy = (IUserDaoImpl) new CglibProxyFactory(target).getInstance();
        proxy.save();
    }
}
